package com.ruoyi.project.system.room.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 直播间管理对象 live_room
 * 
 * @author ruoyi
 * @date 2024-10-29
 */
public class LiveRoom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 直播间名称 */
    @Excel(name = "直播间名称")
    private String name;

    /** 直播间简介 */
    @Excel(name = "直播间简介")
    private String description;

    /** 直播开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "直播开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 直播结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "直播结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 主持人姓名 */
    @Excel(name = "主持人姓名")
    private String host;

    /** 主持人照片 */
    @Excel(name = "主持人照片")
    private String hostImg;

    /** 所属栏目 */
    @Excel(name = "所属栏目")
    private Long categoryId;

    /** 标签 */
    @Excel(name = "标签")
    private String tags;

    /** 封面图 */
    @Excel(name = "封面图")
    private String coverImage;

    /** 聊天室ID */
    @Excel(name = "聊天室ID")
    private Long chatRoomId;

    /** LOGO */
    @Excel(name = "LOGO")
    private String logo;

    /** 功能项 */
    @Excel(name = "功能项")
    private String features;

    /** 同步直播内容 */
    @Excel(name = "同步直播内容")
    private Integer syncContent;

    /** 视频直播源 */
    @Excel(name = "视频直播源")
    private String videoSource;

    /** 创建人Id */
    @Excel(name = "创建人Id")
    private Long createId;

    /** 更新人Id */
    @Excel(name = "更新人Id")
    private Long updateId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }

    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setHost(String host) 
    {
        this.host = host;
    }

    public String getHost() 
    {
        return host;
    }

    public void setHostImg(String hostImg) 
    {
        this.hostImg = hostImg;
    }

    public String getHostImg() 
    {
        return hostImg;
    }

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }

    public void setTags(String tags) 
    {
        this.tags = tags;
    }

    public String getTags() 
    {
        return tags;
    }

    public void setCoverImage(String coverImage) 
    {
        this.coverImage = coverImage;
    }

    public String getCoverImage() 
    {
        return coverImage;
    }

    public void setChatRoomId(Long chatRoomId) 
    {
        this.chatRoomId = chatRoomId;
    }

    public Long getChatRoomId() 
    {
        return chatRoomId;
    }

    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }

    public void setFeatures(String features) 
    {
        this.features = features;
    }

    public String getFeatures() 
    {
        return features;
    }

    public void setSyncContent(Integer syncContent) 
    {
        this.syncContent = syncContent;
    }

    public Integer getSyncContent() 
    {
        return syncContent;
    }

    public void setVideoSource(String videoSource) 
    {
        this.videoSource = videoSource;
    }

    public String getVideoSource() 
    {
        return videoSource;
    }

    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }

    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("description", getDescription())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("status", getStatus())
            .append("host", getHost())
            .append("hostImg", getHostImg())
            .append("categoryId", getCategoryId())
            .append("tags", getTags())
            .append("coverImage", getCoverImage())
            .append("chatRoomId", getChatRoomId())
            .append("logo", getLogo())
            .append("features", getFeatures())
            .append("syncContent", getSyncContent())
            .append("videoSource", getVideoSource())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createId", getCreateId())
            .append("updateId", getUpdateId())
            .toString();
    }
}
